<?php
/* @var $this GenreController */
/* @var $model Genre */

$this->breadcrumbs = array(
    Yii::t('default', 'Administration') => array('/'),
    Yii::t('default', 'Genres') => array('index'),
    $model->name,
);

$this->menu = array(
    array('label' => Yii::t('default', 'List Genre'), 'url' => array('index')),
    array('label' => Yii::t('default', 'Create Genre'), 'url' => array('create')),
    array('label' => Yii::t('default', 'Update Genre'), 'url' => array('update', 'id' => $model->id)),
    array('label' => Yii::t('default', 'Delete Genre'), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => Yii::t('default', 'Are you sure you want to delete this item?'))),
    array('label' => Yii::t('default', 'Manage Genre'), 'url' => array('admin')),
);
?>

<h1><?php echo Yii::t('default', 'View Genre'); ?> #<?php echo $model->id; ?></h1>

<?php
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'id',
        'name',
        array(
            'name' => 'language_id',
            'value' => $model->language->name,
        ),
    ),
));
?>
